#!/bin/bash

sum=0

for((i=1;i<=100;i++))
do
	sum=$[$sum+$i]
done

echo "和为：$sum"


# for ITEM in aa bb cc
# for ITEM in $*  # 可以遍历
# for ITEM in $@  # 可以遍历
# for ITEM in "$*"   # 不可以遍历
for ITEM in "$@"  # 可以遍历
do
	echo "item is $ITEM"
done
